package com.ruicar.afs.cloud.workflow.greatwall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.workflow.greatwall.entity.AfsGreatWallWorkflowBizData;

public interface AfsGreatWallWorkflowBizDataService extends IService<AfsGreatWallWorkflowBizData> {
    String getBizDataByServiceIdAndDataId(String serviceId, String bizId);

    AfsGreatWallWorkflowBizData getBizDataObjServiceIdAndDataId(String serviceId, String bizId);

    AfsGreatWallWorkflowBizData getBizDataObjServiceIdAndDataId(String serviceId, String bizId, String serviceName);

    void updateBizData(String serviceId, String bizId, String serviceName, String bizData);

    void saveBizDate(AfsGreatWallWorkflowBizData afsGreatWallWorkflowBizData);

    boolean exception(String serviceId, String bizDataId);

    void setFinish(Long id);

    void clearStartData(AfsGreatWallWorkflowBizData afsGreatWallWorkflowBizData);

    String queryLastAssignInfo(String serviceId, String bizId);
}
